#ifndef PROTECTION_H
#define PROTECTION_H
#include <QPixmap>
#include<QRect>
class Protection
{
public:
    Protection();
    QPixmap help;
    QPixmap cover;

    QRect helprec;
    QRect coverrec;

    int helpX=0;
    int helpY=0;
    int coverX=0;
    int coverY=0;

    void updatehelp();
    void updatecover();

    bool helpfree=true;
  //  bool coverfree=true;

    bool use=false;
    int time=0;
};

#endif // PROTECTION_H
